<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <link rel="icon" href="./favicon.ico" />
    <meta http-equiv="X-UA-compatible" content="chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>机场周界安防集成平台</title>
    <script src="./unity3d/jQuery.js"></script>
    <script src="./unity3d/UnityObject2.js"></script>
    <script src="./webview.js"></script>
    <script>
        if (localStorage.getItem('titleName')) {
            window.document.title = localStorage.getItem('titleName')
        }
        // (function (win) {
        window.dahuaVideo = '<%= process.env.VUE_APP_VIDEO_TYPE %>' == 'dahua'
        window.cyProxyCallback = function (cb) {
            // alert("cb" + cb)
            window.proxyCyVideoEvent = cb
        }
        var eventTimer = null
        function getOneEvent(eventId, uid) {
            clearInterval(eventTimer)
            if (typeof window.proxyCyVideoEvent == 'function') {
                window.proxyCyVideoEvent(eventId, uid)
            } else {
                eventTimer = setTimeout(function () {
                    getOneEvent(eventId, uid)
                }, 100)
            }
        }
    </script>
</head>

<body>
    <noscript>
        <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
                Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
</body>

</html>